package com.iot08.common.entity.app;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

/**
 * 问题类别
 * @time: 4/29/22 5:40 PM
 * @author: Weichao
 * @version 1.0
 */
@Data
@Document("questions")
public class Questions {
    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    //类别(类别的名称)
    private String category;

    //类别ID
    private String categoryid;

    //排序号
    private Integer index;

    //创建时间
    private Date createtime;

    //修改时间
    private Date modifytime;

}
